[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster
in a description or enumeration environment. \definedescription [qedtest] [closesymbol=\symbol{qed}] \starttext \startqedtest \samplefile{lorem}\qed \stopqedtest \stoptext Wolfgang ___ If your question is of interest

[NTG-context] About framedtext

2023-12-13 Thread Fabrice Couvreur
, toffset=\zeropoint, background=color, backgroundcolor=MyColorA, foregroundstyle={\switchtobodyfont[9pt]}, align={right, broad}, frame=off, corner=00, radius=0.5em, width=10cm] \definedescription [Info] [before

[NTG-context] Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
] \setupbodyfont [mainface] \definedescription [foo] \starttext %% works, no issues here \math{x_y} %% fails if TeX Gyre Pagella Math is used \bold{\math{x_y}} \stoptext The error is: tex error > tex error on line 14 in file /tmp/tex-xDj/xDj.mkvi: Math error: parame

[NTG-context] Re: xml: matches always child of other element

2023-08-10 Thread Hans Hagen via ntg-context
or expansion=xml on \definedescription have no effect. Perhaps most interestingly, adding using the startstop variant together with the command variant gives correct results for the command as well (xml:index-entry-term-3). I have now found a way to proceed with my project (I'll just use the startstop

[NTG-context] Re: xml: matches always child of other element

2023-07-27 Thread denis.maier
on \definedescription have no effect. Perhaps most interestingly, adding using the startstop variant together with the command variant gives correct results for the command as well (xml:index-entry-term-3). I have now found a way to proceed with my project (I'll just use the startstop variant

[NTG-context] Re: xml: matches always child of other element

2023-07-24 Thread denis.maier
\startsectionlevel[title={\xmlfilter{#1}{/index-title-group/title/command(xml:index-title)}},] \xmlflush{#1} \stopsectionlevel \stopxmlsetups \startxmlsetups xml:index-title \xmlflush{#1} \stopxmlsetups \definedescription[indexentry] [alternative

[NTG-context] xml: matches always child of other element

2023-07-24 Thread denis.maier
} \stopxmlsetups \definedescription[indexentry] [alternative=top, headstyle=normal, headcommand=\hskip-1cm, margin=1cm, inbetween=, ] \startxmlsetups xml:index-entry \xmlflush{#1} \stopxmlsetups

Re: [NTG-context] Change in flushleft alignment?

2023-06-01 Thread Henning Hraban Ramm via ntg-context
paragraph has been run through par. This does not seem to create paragraphs with more lines, but they create a very odd, choppy page. It does not prevent hyphenation, and sometimes introduces it where none was present before. Did I miss a change? I found the same problem with a \definedescription

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
atex. Is this supposed to work? > > > > Here is an MWE: > > ``` > > \definedescription[desc][headstyle=bold] > > > > \starttext > > Foo > > > > \desc{Some title} Some text > > \startitemize > > \item Some item > &

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > Hi, > > I'm trying to use a description environment in conjunction with an > itemize with the latest luametatex. Is this supposed to work? > > Here is an MWE: > ``` > \definedescription[desc][headstyle=bol

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I'm trying to use a description environment in conjunction with an itemize with the latest luametatex. Is this supposed to work? Here is an MWE: ``` \definedescription[desc][headstyle=bold] \starttext Foo \desc{Some title} Some text \startitemize \item Some item

[NTG-context] Indenting next multi paragraph description

2023-02-23 Thread Alex Leray via ntg-context
Hi, I'd like to indent next paragraphs in multi paragraph descriptions. For some reason, I can't figure out why this isn't working. Any idea? Here is my code: ### \setupwhitespace[none] \setupindenting[yes, 3em, next] \definedescription[question][ before={\vskip-\parskip}, after

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Wolfgang Schuster via ntg-context
,    after=\blank,   background=] \setupfloats   [freeregion=no] \definedescription   [Definition]   [alternative=top,   text={Definition: }, title=yes,     before=\startOliver, after=\stopOliver, inbetween={\blank[medium]}] \startbuffer[sampletext

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Fabrice L via ntg-context
hidden texts in figures for exemple. Also, I do not calculate space required, this is automated ! Here is MWE : \enablemode[solution] \doifmode{solution}{ \definecolor[solcolor][magenta] } \doifnotmode{solution}{ \definecolor[solcolor][white] } \definedescription[solut

[NTG-context] descriptions with long titles

2022-01-08 Thread Henning Hraban Ramm via ntg-context
) Is this possible, and how? - \mainlanguage[de] \setuppapersize[A5] \definedescription[Desc][ headstyle=bold, style=normal, align={flushleft,nothyphenated}, headalign={flushleft,nothyphenated}, alternative=hanging, width=.33\textwidth] \starttext \subject{Friedensnobelpreisträger} \Desc

Re: [NTG-context] descriptions -- symbol between head and text

2021-12-15 Thread Denis Maier via ntg-context
ntg-context schrieb am 14.12.2021 um 16:44: Hi, is there a way to get some text between the head and the text of a description. Enumerations have stoppers, but I couldn't find an equivalent setting for descriptions: \definedescription [deflist] [alternative=hanging, width=fit

Re: [NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 14.12.2021 um 16:44: Hi, is there a way to get some text between the head and the text of a description. Enumerations have stoppers, but I couldn’t find an equivalent setting for descriptions: \definedescription   [deflist]   [alternative=hanging

[NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Denis Maier via ntg-context
% \definedescription[deflist][ headstyle=normal, style=normal, alternative=hanging, width=fit, margin=1cm, distance=0em, ] \starttext \startdeflist{ABC} \input knuth \stopdeflist \startdeflist{CDE} \input knuth \stopdeflist \stoptext

Re: [NTG-context] [Solved] Line breaks, \wordright and hyphenation

2021-10-26 Thread kauśika cittūr via ntg-context
; > > > [I have attached the output here as an image] > > > > How do I ensure that this does not happen, if that is possible at all? I > > suppose this is expected behaviour but I am not able to understand why. > > > > Thanks, > > kauśika >

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
n, if that is possible at all? I > suppose this is expected behaviour but I am not able to understand why. > > Thanks, > kauśika Dear list, Although, not a fix for the issue, here is a workaround that allowed me to achieve what I wanted: \definedescription[amnata] \setupdescrip

Re: [NTG-context] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
gle} \index{Coton de Tulear} \index{breeding programs}    \page \definedescription[Index][headstyle=bold,alternative=top,inbetween=]    \startIndex{a} Adams\par \quad \reference[AdamsDouglas]{Adams, Douglas}Douglas\quad 1\par \quad John\quad 1\par \quad

[NTG-context] dictionary example

2021-06-12 Thread jbf
[{\getmarking[subsubject][top]–\getmarking[subsubject][bottom]}][][{\getmarking[subsubject][top]–\getmarking[subsubject][bottom]}][] \setupcolumns[n=2,align=raggedright,balance=no,tolerance={verytolerant,stretch}] \definedescription[des][headstyle=bold,style=normal,alternative=serried, width=fit

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-25 Thread Christoph Reller
On Tue, Dec 22, 2020 at 5:25 AM Christoph Reller wrote: > On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < > christoph.rel...@gmail.com> wrote: > >> Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: >> >>> Actually, what you want is: >>>

[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22

2020-12-22 Thread Alan Bowen
}]}% } \def\startbibitem{\dodoubleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-21 Thread Christoph Reller
On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < christoph.rel...@gmail.com> wrote: > Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > >> Actually, what you want is: >> >> \definedescription[desc] >> \starttext >> \startdesc[title={Long

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > Actually, what you want is: > > \definedescription >[desc] > > \starttext > > \startdesc[title={Long title},reference=foo,referencetext={Short > Title}] > \input jojomayer > \stopdesc &

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Hans Hagen
[sel][max=2, n=2] \definedescription[desc][headcommand={\setupselector[sel][n=1]}] \starttext \startdesc[title={\select{sel}{Long title}{Short}}, reference=desc]   \input jojomayer \stopdesc \about[desc] \stoptext Hm, I'll check it. Any help is welcome! Actually, what you want

[NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hi, In ConTeXt MKIV, there are selectors (\defineselector, \select). In ConTeXt LMTX, they are gone. In LMTX, how can I achieve the following without using selectors: (Different heading and reference texts for descriptions) \defineselector[sel][max=2, n=2] \definedescription[desc][headcommand

Re: [NTG-context] LMTX and descriptions

2020-11-24 Thread Wolfgang Schuster
Jean-Philippe Rey schrieb am 24.11.2020 um 19:33: Dear list, I am switching from MLIV to LMTX and I've found a problem with descriptions. Here is an example of the problem. == \definedescription[D] \starttext \D{Label} description % Label is not printed \startD

[NTG-context] LMTX and descriptions

2020-11-24 Thread Jean-Philippe Rey
Dear list, I am switching from MLIV to LMTX and I've found a problem with descriptions. Here is an example of the problem. == \definedescription[D] \starttext \D{Label} description % Label is not printed \startD{Label} % OK, but pb with the following table

Re: [NTG-context] lmtx update

2020-07-31 Thread Taco Hoekwater
n a > rewrite of some existing mechanism (generic subsystems with instances), but > that might as well go unnoticed. > > To give an idea of possibilities, here is an example: > > \definedescription[whatever][alternative=right:bottom] > > \startwhatever{just a small\\ex

[NTG-context] lmtx update

2020-07-31 Thread Hans Hagen
in progress concerns paragraph wrappers and that will result in a rewrite of some existing mechanism (generic subsystems with instances), but that might as well go unnoticed. To give an idea of possibilities, here is an example: \definedescription[whatever][alternative=right:bottom

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
ent • \em, \bf, \cap, • \startitemize, \startitem, \starthead, • \placefigure, \externalfigure, • \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE • \index, \completeindex • \setuplayout, \setupfootertexts et \setupheadertexts • \definedescription, \defineenumeration • \at, \in Anyway, t

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Kevin Kenan
I keep the space between the heading text and the paragraph from >> stretching/shrinking in a description? >> >> MWE that exhibits variable space between the heading (the defined word) and >> the paragraph text: >> >> >>\definedescription >

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Wolfgang Schuster
paragraph text: > > > \definedescription > [definition] > [headstyle=italic, >indenting=1em, >alternative=hanging, >margin=2em, >distance=1.5em, stretch=0,

[NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Kevin Kenan
How can I keep the space between the heading text and the paragraph from stretching/shrinking in a description? MWE that exhibits variable space between the heading (the defined word) and the paragraph text: \definedescription [definition] [headstyle=italic, indenting

[NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Fabrice Couvreur
}, frame=off, corner=00, radius=0.5em, width=10cm] \definedescription [Info] [before=, after=, text=Vocabulaire, title=no, width=fit, distance=0.5em, headcommand=\FrameTitle, alternative=serried] \starttext

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
[state=start, focus=standard, style=, click=yes, color=, contrastcolor=,] % Units \defineunit[sunit][separator=small] \setupunit[space=medium] \setuphead[section][style={\bfc}, before={\bigskip}, after={}] % Lua code to set up a database of symbols \definedescription[SymItem][] \startluacode

[NTG-context] Variable space with hanging description

2019-04-16 Thread Cedric Tissieres
(replace alternative=hanging by location=hanging in mkii). Thanks Cedric \definedescription[desc][ align=hyphenated,alternative=hanging, width=fit,margin=standard] \starttext \startdesc{Abcdefgh} \input knuth \stopdesc \startdesc{Abcdefghij} \input knuth \stopdesc \startdesc

[NTG-context] How to pass a parameter with \definedescription[]

2019-01-27 Thread Fabrice Couvreur
background=color, backgroundcolor=MyColorA, foregroundstyle={\switchtobodyfont[12pt]}, align={right, broad}, frame=off, corner=round, radius=1em, width=10cm] \definedescription [Info] [before=, after=, text=Note, title=no, width=fit, distance=

Re: [NTG-context] whitespace inside a description

2018-12-01 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 30.11.18 um 19:36: Dear list, I have the following sample: \setupwhitespace[big] \startsetups[small:whitespace] \setupwhitespace[small] \stopsetups \definedescription [description] [setups={small:whitespace

[NTG-context] whitespace inside a description

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupwhitespace[big] \startsetups[small:whitespace] \setupwhitespace[small] \stopsetups \definedescription [description] [setups={small:whitespace}, inbetween={\directsetup[small:whitespace

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
f a strut. \useMPlibrary[dum] \switchtobodyfont[pagella,12pt] \setuplayout [topspace=10mm, header=10mm, footer=10mm, height=middle, backspace=20mm, width=middle] \definedescription [Item] [width=1.5em, distance=none] \

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
=10mm, footer=10mm, height=middle, backspace=20mm, width=middle] \definedescription [Item] [width=1.5em, distance=none] \starttext \startxtable[bodyfont=10pt] \startxrow \startxcell[width=2cm] Expression\\\m{B'(x)} \stopxcell \startxcell

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Fabrice Couvreur
h] > > \defineframedtext >[FramedText] >[offset=0.6em, > style=\ss, > toffset=.25\lineheight, > background=color, > backgroundcolor=MyColorA, > oregroundstyle={\switchtobodyfont[10pt]}, > align={right, broad}, > frame=off, >

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Hans Hagen
=0.6em, style=\ss, toffset=.25\lineheight, background=color, backgroundcolor=MyColorA, oregroundstyle={\switchtobodyfont[10pt]}, align={right, broad}, frame=off, corner=round, radius=1.5em, width=10cm] \definedescription [Info] [before=, after=, text=Info

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Wolfgang Schuster
espace settings in footnotes you get the same space between each footnote entry. What can be done is to add a whitespace key to setupnote which is easier than using setups-environment. \definedescription[Spaced][before=,after=] \starttext \startSpaced First entry. \stopSpaced \startSpaced Second

[NTG-context] Question about \definedescription

2018-05-22 Thread Procházka Lukáš Ing .
Hello, the following defintions: \definedescription[A][alternative=top] \A{Aaa} \input knuth \definedescription[B][alternative=hanging] \B{Bbb} \input knuth generate texts shaped: Aaa Thus, I came to the conclusion that the designer BbbThus, I came to the conclusion

Re: [NTG-context] Typesetting an interview

2018-02-11 Thread Wolfgang Schuster
\definemeasure[interview][3em] \define[1]\InterviewHeadCommand {\offset[x=-\measure{interview}]{#1}} \definedescription [interview] [alternative=top, headcommand=\InterviewHeadCommand, margin=\measure{interview}] \showframe[text][text] \starttext \startinterview{Weisman} \input

Re: [NTG-context] Typesetting an interview

2018-02-11 Thread Henning Hraban Ramm
; best setup. But I can’t find the right parameters for the layout I want... > Every contribution should look like: > > """ > HHR > Here’s the text, question or answer. > > OTR > And here’s the next one. > Might have several lines. > ""&q

[NTG-context] Typesetting an interview

2018-02-07 Thread Henning Hraban Ramm
e next one. Might have several lines. """ Working example: \definedescription[Interview][ headstyle=italic, style=normal, align=flushleft, alternative=hanging, ] \def\dostartInterview[#1][#2]% {\doifsomethingelse{#2}% {\startInterview[reference={#1},title={#2}]}%

Re: [NTG-context] Multiline descriptions do not line up

2017-07-09 Thread Hans Hagen
, shrink=0 to prevent this On Sat, 2017-07-08 at 23:45 -0400, Rik Kabel wrote: What is needed to align descriptions when the description text is wrapped? Items seven and thirteen below are particularly bad, and in a real document the error is significantly greater. \definedescription [Desc

Re: [NTG-context] Multiline descriptions do not line up

2017-07-08 Thread Henri Menke
the error is > significantly greater. > \definedescription [Desc] >    [headstyle=\tf,alternative=hanging] > \definelayer   [vLine] > \setlayer  [vLine] >    > [x=3.385cm]{\blackrule[color=red,width=0.2pt,height=\textheigh

[NTG-context] Multiline descriptions do not line up

2017-07-08 Thread Rik Kabel
What is needed to align descriptions when the description text is wrapped? Items seven and thirteen below are particularly bad, and in a real document the error is significantly greater. \definedescription [Desc] [headstyle=\tf,alternative=hanging] \definelayer

[NTG-context] hunting a lua stack error

2017-03-13 Thread Alan Bowen
\cite[A, B, and C 2017] and worse. If I comment out the offending line, the file processes as it should. My test file does not duplicate the problem: it just shows another one ( that may or may not be relevant): \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentn

Re: [NTG-context] description renders unintended results

2017-03-04 Thread Otared Kavian
Hi Floris,Since you specify align=leftin the setup of your description, I don’t see why the output would be unexpected. With the following version of your example code I get the attached PDF output.%%% begin \setuppapersize[A5]\definedescription[descr][ headstyle=bold, style=normal,% align

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Alan Bowen
ace] >> \spaceskip 0.5\interwordspace plus .5\interwordstretch minus >> \interwordshrink >> \stopsetups >> >> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={ >> #1}]} >> \de

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Hans Hagen
setups \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5p

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
t;>> >>> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} >>> \def\startbibitem{\dosingleempty\dostartbibitem} >>> \def\stopbibitem{\stopBibItem} >>> >>> \definedescription[BibItem][ >>> width=broad, >>> margin=1.5pc, &

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
ked][spacing=packed] >> \startsetups[tightspace] >> \spaceskip 0.5\interwordspace plus .5\interwordstretch minus >> \interwordshrink >> \stopsetups >> >> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} >> \def\startbibitem{\dosingleempty\dost

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Hans Hagen
[#1]{\startBibItem[title={#1},reference={#1}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before

Re: [NTG-context] new lua/stack error

2017-02-22 Thread Alan Bowen
}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed

Re: [NTG-context] description questions

2017-02-21 Thread Csikos Bela
puts stuff before head. >There is no way to reset options in ConTeXt. The canonical way to do this >is: > >\definedescription[defa] >\definedescription[defb][defa][width=broad, distance=1cm] > >\startdefa ... \stopdefa > >\startdefb ... \stopdefb > >(Untested):

Re: [NTG-context] description questions

2017-02-20 Thread Aditya Mahajan
=dimension results in the same. Some information is given here: http://www.ntg.nl/maps/36/09.pdf Enumerations and descriptions share a lot of settings. 2. In the same document how can I reset to the default options of a defined description list? For example: \definedescription[defa] \defa{head

[NTG-context] description questions

2017-02-20 Thread Csikos Bela
=broad,distance=dimension results in the same. 2. In the same document how can I reset to the default options of a defined description list? For example: \definedescription[defa] \defa{head} % deafult options are used \setupdescription[defa][width=broad,distance=1cm] \defa{head} % above

Re: [NTG-context] RTL \definedescriptions

2016-05-01 Thread Mohammad Hossein Bateni
d Hossein Bateni <bat...@gmail.com > > wrote: > >> Hello Hans and Wolfgang, >> >> I tried different options in \definedescription and compared LTR and RTL >> behavior. There are certain inconsistencies/bugs in the RTL setting. >> Attached you can see a TeX fi

Re: [NTG-context] RTL \definedescriptions

2016-05-01 Thread Mohammad Hossein Bateni
atter what. —MHB On Thu, Apr 28, 2016 at 9:22 PM, Mohammad Hossein Bateni <bat...@gmail.com> wrote: > Hello Hans and Wolfgang, > > I tried different options in \definedescription and compared LTR and RTL > behavior. There are certain inconsistencies/bugs in the RTL setting. >

[NTG-context] RTL \definedescriptions

2016-04-28 Thread Mohammad Hossein Bateni
Hello Hans and Wolfgang, I tried different options in \definedescription and compared LTR and RTL behavior. There are certain inconsistencies/bugs in the RTL setting. Attached you can see a TeX file and the resulting PDF, trying different options. The first two pages consider different

Re: [NTG-context] Overlapping terms in description lists

2016-04-21 Thread luigi scarso
On Wed, Apr 20, 2016 at 12:58 PM, Tom Harrop <thomas.har...@ird.fr> wrote: > Hello again, > > The document I'm typsetting uses description lists. To keep the list > entries close together I'm using before=\nowhitespace and > after=\nowhitespace in \definedescription.

[NTG-context] Overlapping terms in description lists

2016-04-20 Thread Tom Harrop
Hello again, The document I'm typsetting uses description lists. To keep the list entries close together I'm using before=\nowhitespace and after=\nowhitespace in \definedescription. This is fine so long as the term is short, but when the term wraps to two lines it can overlap with the term

Re: [NTG-context] Enumeration lists (was: \definedescription and setupdescription options)

2016-03-06 Thread Alan BRASLAU
On Mon, 7 Mar 2016 04:42:09 +0100 Wolfgang Schuster wrote: > \defineenumeration > [fact] > [list=fact] > > \starttext > > \startfact [title=First fact] > Many commands in \CONTEXT\ are obvious. > \stopfact > > \placelist [enumeration:fact] [criterium=all] > >

Re: [NTG-context] \definedescription and setupdescription options

2016-03-06 Thread Alan BRASLAU
On Fri, 4 Mar 2016 16:52:12 +0100 Wolfgang Schuster wrote: > Take a look at the attached files for the valid keys for the > description and enumeration environments. I am not managing use of lists of enumerations. \defineenumeration [fact] [list=fact]

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Am 04.03.2016 um 20:00 schrieb Wolfgang Schuster: > No, because I used a local version of the interface file where I added > missing entries but it isn’t finished yet. Wonderful. I love this feature. I am eagerly looking forward to see it released. Thanks! juh

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Wolfgang Schuster
Jan U. Hasecke 4. März 2016 um 19:29 Thank you Wolfgang, your examples are very helpful. Did you make the pdf with \showsetup{...}? I am missing setupdescriptions. \setupdescriptions is a synonym for the \setupdescription command. And I get "MISSING

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Hi Aditya, Am 04.03.2016 um 16:49 schrieb Aditya Mahajan: > See: http://www.ntg.nl/maps/36/09.pdf which explains some of these. thank you very much for hinting to this ressources. juh ___ If your question is of

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Thank you Wolfgang, your examples are very helpful. Am 04.03.2016 um 16:52 schrieb Wolfgang Schuster: > Take a look at the attached files for the valid keys for the description > and enumeration environments. Did you make the pdf with \showsetup{...}? I am missing setupdescriptions. And I

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Wolfgang Schuster
Jan U. Hasecke <mailto:juh+ntg-cont...@mailbox.org> 4. März 2016 um 16:25 Hi all, I am working on a small documentation and today I tried all the options in \definedescription and/or \setupdescriptions to understand what is going on. I have no idea what these options are doing: closec

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Aditya Mahajan
On Fri, 4 Mar 2016, Jan U. Hasecke wrote: Hi all, I am working on a small documentation and today I tried all the options in \definedescription and/or \setupdescriptions to understand what is going on. I have no idea what these options are doing: closecommand titleleft titleright

[NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Hi all, I am working on a small documentation and today I tried all the options in \definedescription and/or \setupdescriptions to understand what is going on. I have no idea what these options are doing: closecommand titleleft titleright titledistance titlestyle titlecolor headcommand hang

[NTG-context] inter-word space in bibliographies

2015-12-17 Thread Alan Bowen
{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \starttext Martin, J. 1956. \emph{Histoire du texte

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-13 Thread Henning Hraban Ramm
Am 2015-12-09 um 04:16 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> \definedescription[BibItem][ >> before={\directsetup{tightspace}\bgroup\language[packed]}, >> after={\egroup}, >> ] > you can use here (the grouping isn’t necessary) >

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
guages, and only "packed" or "broad". In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobb

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
iption (is the setups key even supposed to work in \definedescription?). No, there is no setups key for description and you have to misuse the style key. \define\CompressSpace {\spaceskip .7\interwordspace plus .5\interwordstretch minus \interwordshrink} \definedescription[compresse

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Pablo Rodriguez
On 12/08/2015 12:11 PM, Henning Hraban Ramm wrote: > [...] > Thank you for the suggestion, but I can’t see any change, even if I use > extreme values for \spaceskip (like 0.1 or 10.0), neither in footnotes > nor in my description (is the setups key even supposed to work in > \de

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
Am 2015-12-08 um 15:01 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> \unprotect >> \definedescription[BibItem][ >> headcommand=\gobbleoneargument, >> align=right, >> before={\bgroup\spac_spacecodes_set_fixed{50}}, % does this take a value or &

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
er in footnotes > The footnote on the second page is a line shorter. Ok. >> nor in my description (is the setups key even supposed to work in >> \definedescription?). > No, there is no setups key for description and you have to misuse the style > key. > > \defin

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
r in footnotes >> nor in my description (is the setups key even supposed to work in >> \definedescription?). > > Hi Hraban, > > I don’t know whether this is right, but this works for me: > >\startsetups[footnote:space] > \spaceskip .7\interwordspace >p

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Aditya Mahajan
On Tue, 8 Dec 2015, Wolfgang Schuster wrote: nor in my description (is the setups key even supposed to work in \definedescription?). No, there is no setups key for description and you have to misuse the style key. Should we add one? It is a bit annoying at times that some

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
pacing=packed] You don’t have add a new language because \startsetups[tightspace] \spaceskip 0.7\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \definedescription[BibItem][ before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] you can us

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Aditya Mahajan
or "broad". In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobbleoneargument,

[NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Henning Hraban Ramm
found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobbleoneargument, align=right, before={\bgroup\spac_spacecodes_se

Re: [NTG-context] missing reference of items

2015-12-05 Thread Wolfgang Schuster
ibitem{\stopBibItem} \definedescription[BibItem][ width=broad,margin=0pt, indenting=no,indentnext=no, headcommand=\emptyBibItemHead,] headcommand=\gobbleoneargument, Wolfgang ___ If your question is of interest to others a

Re: [NTG-context] missing reference of items

2015-12-05 Thread Henning Hraban Ramm
Am 2015-12-04 um 23:23 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: > or you use descriptions: > > \definedescription[bibitem][title=yes] > > \definereferenceformat [bibtitle] [type=title,left={[},right={]}] > \definereferenceformat [bibpage] [type=pa

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster
rtitem[Ramm 2015] Ramm, Hraban: The Unsolved Question. Bishkek 2015. \stopitem \stopitemgroup See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015]. \stoptext or you use descriptions: \definedescription[bibitem][title=yes] \definereferenceformat [bibtitle] [type=title,left={[},right={

Re: [NTG-context] missing reference of items

2015-12-04 Thread Alan BRASLAU
ge] > > \starttext > > \startitemgroup[bibliography] > \startitem[Ramm 2015] > Ramm, Hraban: The Unsolved Question. Bishkek 2015. > \stopitem > \stopitemgroup > > See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015]. > > \stoptext > > > or

Re: [NTG-context] How to start a \definedescription-defined description's body on a new line, not the same as the description's header?

2015-10-16 Thread Otared Kavian
Hi Louis, II guess what you need is the keyword alternative=top in the setup of your descritiption. Best regards: OK > On 09 Oct 2015, at 18:13, Louis Strous <louis.str...@intellimagic.com> wrote: > > With > > [start sample] > \definedescription[cmddescripti

[NTG-context] How to start a \definedescription-defined description's body on a new line, not the same as the description's header?

2015-10-16 Thread Louis Strous
With [start sample] \definedescription[cmddescription][headstyle=bold,width=broad,style=normal,align=flushleft,alternative=hanging,margin=1cm] ... \startcmddescription{mycommand} This is a very useful command. It knows just what to do, and you don't even have to specify any options

[NTG-context] Wiki / sample

2015-04-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the Sample 2 on http://wiki.contextgarden.net/Command/definedescription compiles well on my computer (one of the latest Ctx version) but not on wiki. (It happens to me time to time when I want to add a sample, mostly a snip from the mailing list.) IMHO, there is still a Ctx version

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
= \startenvironment env_cataoia \project project_cataoia % \definedescription [description] [location=serried, width=broad, hang=fit, margin=standard, headstyle=bold] \definestartstop [descriptions] [before=\startpacked

Re: [NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Gerben Wierda
[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}] \definedescription[Member][headstyle=bold, location=hanging,indenting={yes,\measure

  1   2   3   4   >